package com.nacai.im;

import java.io.Serializable;

public class ImEvent implements Serializable {


    /**
     * im_event_class : IMEVENT_CLASS_SESSION
     * im_event_class_str : 2
     * im_event : IM_SESSION_CONNECT_PREPARE
     * im_event_int : 1
     * uid : 0
     * groupid : 0
     * sync_offset : 0
     * param : 0
     * error_code : 0
     * error_desp :
     */
    private String im_event_class;
    private int im_event_class_str;
    private String im_event;
    private int im_event_int;
    private int uid;
    private int groupid;
    private int sync_offset;
    private int param;
    private int error_code;
    private String error_desp;

    public String getIm_event_class() {
        return im_event_class;
    }

    public void setIm_event_class(String im_event_class) {
        this.im_event_class = im_event_class;
    }

    public int getIm_event_class_str() {
        return im_event_class_str;
    }

    public void setIm_event_class_str(int im_event_class_str) {
        this.im_event_class_str = im_event_class_str;
    }

    public String getIm_event() {
        return im_event;
    }

    public void setIm_event(String im_event) {
        this.im_event = im_event;
    }

    public int getIm_event_int() {
        return im_event_int;
    }

    public void setIm_event_int(int im_event_int) {
        this.im_event_int = im_event_int;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public int getGroupid() {
        return groupid;
    }

    public void setGroupid(int groupid) {
        this.groupid = groupid;
    }

    public int getSync_offset() {
        return sync_offset;
    }

    public void setSync_offset(int sync_offset) {
        this.sync_offset = sync_offset;
    }

    public int getParam() {
        return param;
    }

    public void setParam(int param) {
        this.param = param;
    }

    public int getError_code() {
        return error_code;
    }

    public void setError_code(int error_code) {
        this.error_code = error_code;
    }

    public String getError_desp() {
        return error_desp;
    }

    public void setError_desp(String error_desp) {
        this.error_desp = error_desp;
    }

    @Override
    public String toString() {
        return "ImEvent{" +
                "im_event_class='" + im_event_class + '\'' +
                ", im_event_class_str=" + im_event_class_str +
                ", im_event='" + im_event + '\'' +
                ", im_event_int=" + im_event_int +
                ", uid=" + uid +
                ", groupid=" + groupid +
                ", sync_offset=" + sync_offset +
                ", param=" + param +
                ", error_code=" + error_code +
                ", error_desp='" + error_desp + '\'' +
                '}';
    }
}
